Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated dependencies to fix vulnerabilities #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

n00begon
Copy link

Updated all dependencies to the latest version to fix 2 high and 3 critical vulnerabilities. Installs correctly and all the tests pass.

npm audit report:
flat <5.0.1
Severity: critical
flat vulnerable to Prototype Pollution - GHSA-2j2x-2gpw-g8fm fix available via npm audit fix --force
Will install [email protected], which is a breaking change node_modules/flat
yargs-unparser <=1.6.3
Depends on vulnerable versions of flat
node_modules/yargs-unparser
mocha 5.1.0 - 9.2.1
Depends on vulnerable versions of minimatch
Depends on vulnerable versions of yargs-unparser
node_modules/mocha

minimatch <3.0.5
Severity: high
minimatch ReDoS vulnerability - GHSA-f8q6-p94x-37v3 fix available via npm audit fix --force
Will install [email protected], which is a breaking change node_modules/mocha/node_modules/minimatch

xml2js <0.5.0
Severity: high
xml2js is vulnerable to prototype pollution - GHSA-776f-qx25-q3cc fix available via npm audit fix --force
Will install [email protected], which is a breaking change node_modules/xml2js

5 vulnerabilities (2 high, 3 critical)

Updated all dependencies to the latest version to fix 2 high and 3 critical vulnerabilities. Installs correctly and all the tests pass.

npm audit report:
flat  <5.0.1
Severity: critical
flat vulnerable to Prototype Pollution - GHSA-2j2x-2gpw-g8fm
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/flat
  yargs-unparser  <=1.6.3
  Depends on vulnerable versions of flat
  node_modules/yargs-unparser
    mocha  5.1.0 - 9.2.1
    Depends on vulnerable versions of minimatch
    Depends on vulnerable versions of yargs-unparser
    node_modules/mocha

minimatch  <3.0.5
Severity: high
minimatch ReDoS vulnerability - GHSA-f8q6-p94x-37v3
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/mocha/node_modules/minimatch

xml2js  <0.5.0
Severity: high
xml2js is vulnerable to prototype pollution  - GHSA-776f-qx25-q3cc
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/xml2js

5 vulnerabilities (2 high, 3 critical)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant